<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
/**
 * Route::group(['middleware' => 'check.login'], function() {内部为，不想让未登录用户进的路由});
 */

Route::get('/', function () {
    return view('welcome');
});

Route::get('login', function () {
    return view('User.Login');
});

Route::get('L', "UserC@Dl");

Route::group(['middleware' => 'check.Dl'], function() {
    Route::get('H', "UserC@F");
    Route::get('BT', "UserC@yan");

});

Route::get('D', function () {
    return view('User.BT');
});

